﻿using NodeEditor;

namespace ETHotfix
{
    [NodeEvent(typeof(SetBoolNode))]
    public class SetBoolNodeHandle : NodeHandle<SetBoolNode>
    {
        protected override void OnHandle(RuntimeTree runtimeTree, RuntimeNode runtimeNode, SetBoolNode data, Unit unit)
        {
            runtimeTree.runtimeValue.SetValue(data.key,data.value);
        }
    }
}